package alchemist.service;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Component;

@Component
public class GoogleLoggedUserProvider implements LoggedUserProvider
{

    @Override
    public String getCurrentUserId( HttpServletRequest request )
    {
        return request.getUserPrincipal().getName();
    }

}
